/**
 * * encoded in UTF-8.
 *
 */
#include "dyn_seg.h"
void delay(u16 ms);
u8 i;
u8 buff_dyn[8] = {0};
u8 flash_count = 0;

int main() {
	SysTick_Config(SystemCoreClock/1000);
    Dyn_Init();
    
    while (1) {
        
    }
}

void delay(u16 ms) {
    u32 i, j;

    for (i = 0; i < ms; i++)
        for (j = 0; j < 7992; j++)
            ;
}

void SysTick_Handler() {
	SEG_Scan_Handler(buff_dyn, &flash_count);
}
